package com.example.xdzx.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.LinkedList;
import java.util.List;

@RestController
public class AdvertisementController {
    /**
     * 返回广告轮播图地址
     * @return
     */
    @GetMapping("/getSwiperList")
    public List<String> getSwiperList(){
        List<String> list = new LinkedList<>();
        list.add("http://tmp/bbF3Kd7Te4LX55658eccac572ccedf20b6f8934c452f.png");
        list.add("https://oss-album.oss-cn-beijing.aliyuncs.com/test/ad3.jpg");
        list.add("https://oss-album.oss-cn-beijing.aliyuncs.com/test/ad1.jpg");

        return list;
    }
}
